﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace ReadTreeFormCult3D
{
	public partial class Form3 : Form
	{
		public Form3(string url)
		{
			InitializeComponent();
			StreamReader reader = null;
			try
			{
				reader=new StreamReader(url);
				string line;
				int i=0;
				while ((line = reader.ReadLine()) != null)
				{
					if(i==0)richTextBox1.Text=line;
					else richTextBox1.Text+="\n"+line;
					i++;
				}
			}
			catch (Exception)
			{
				
			}
			reader.Close();
		}
	}
}
